package com.jhc.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 课表档案 
 * </p>
 *
 * @author zfm
 * @since 2019-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BacTimetable extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 课程代码
     */
    private String courseNumber;

    /**
     * 课程名称
     */
    private String courseTitle;

    /**
     * 教学班编号
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long teachingClassId;

    /**
     * 星期
     */
    private Integer weekDay;

    /**
     * 节次
     */
    private String section;

    /**
     * 周次
     */
    private Integer week;

    /**
     * 上课日期
     */
    private Date classDate;

    /**
     * 教师编号
     */
    private String teaNumber;

    /**
     * 上课地点，教室id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long roomId;


    /**
     * 周次表id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long weekId;
}
